package com.service.lyxmservice.service.index;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.service.lyxmservice.dao.index.IndexDao;
import com.service.lyxmserviceapi.model.ArticleModel;
import com.service.lyxmserviceapi.model.Author;
import com.service.lyxmserviceapi.model.Module;
import com.service.lyxmserviceapi.service.index.IndexService;

@Service
public class IndexServiceImpl implements IndexService{
	
	@Autowired
	private IndexDao indexDao;
	
	@Override
	public List<ArticleModel> getIndexArticle() {
		return indexDao.getIndexArticle();
	}

	@Override
	public List<Module> getIndexModule() {
		return indexDao.getIndexModule();
	}

	@Override
	public List<Author> getAuthorList() {
		return indexDao.getAuthorList();
	}
	
	
	
}
